package com.study.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LocalController {
	
	@RequestMapping("/hello/{name}")
	public String show(@PathVariable("name") String name) {
		String s = "hello" + name;
		System.out.println("==============: "+s);
		return s;
	}

}
